package com.itheima.staticTest.static_base;

public class students {
    private String ids;
    private String name;
    public static String teachName;   // 这是”静态“变量，是属于类，不属于对象。

    public students() {
    }

    public students(String ids, String name) {
        this.ids = ids;
        this.name = name;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static String getTeachName() {
        return teachName;
    }

    public static void setTeachName(String teachName) {
        students.teachName = teachName;
    }
}
